home *** CD-ROM | disk | FTP | other *** search
/ LG Super CD / LG Super CD.iso / bitpim / bitpim-0.9.10-setup.exe / {app} / resources / cal_regular_style.xy < prev    next >
Encoding:
Text File  |  2006-12-06  |  1001 b   |  23 lines

  1. # This is pure Python code which sets up the styles and provides
  2. # some helper functions
  3.  
  4. styles={}
  5.  
  6. styles['table']={ '': ('width', "100%", 'cellpadding', "5", 'cellspacing', "0",
  7.                        'border', "1"),
  8.                   'td': ('valign', 'top')
  9.                   }
  10. styles['header_center_bold']={ 'th': ('align', "center"),
  11.                               '+b': () }
  12. styles['header_left_bold']={ 'th': ('align', "left"),
  13.                               '+b': () }
  14. styles['month_header']={ 'td': ('align', "left", 'colspan', "5"),
  15.                          '+b': () }
  16. styles['date_day']={ '': ('align', "center", 'width', "15%") }
  17. styles['start_end']={ '': ('align', "center", 'width', "20%") }
  18. styles['description']={ '': ('align', "left", 'width', "45%") }
  19. styles['repeat']={ '': ('align', "center", 'width', "10%") }
  20. styles['alarm']={ '': ('align', "center", 'width', "10%") }
  21. styles['footnote']={ '': ('colspan', "5"),
  22.                      '+font': ('size', "2") }
  23.